import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import Vant from 'vant';
import router from './router'
import { createPinia } from 'pinia';
import 'vant/lib/index.css'; // 引入 Vant 样式
// import '@/styles/variables.scss';
import piniaPluginPersist from 'pinia-plugin-persist'

import VueDOMPurifyHTML from 'vue-dompurify-html'
import Vconsole from "vconsole";

if (process.env.NODE_ENV == "development") {
    new Vconsole();
}

const app = createApp(App);

const pinia = createPinia()

pinia.use(piniaPluginPersist)

app.use(Vant).use(router).use(pinia).use(VueDOMPurifyHTML).mount('#app')

